package com.flag.liutao.modules.student.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("添加获修改学院信息的param")
public class DeptParam {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("学院名称")
    @NotBlank(message = "学院名称不能为空")
    private String deptName;
}
